Comments can now be 46 characters in 5.x firmware.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 23 Dec 2004 19:34:14 +0000 (19:34 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 23 Dec 2004 19:34:14 +0000 (19:34 +0000)
gpsbabel/magproto.c

index 5ca77160d332fe18fbe4604c7665cb84f7535c77..775bacd7e9113877ff2f96e0156b7a638553f256 100644 (file)
@@ -1193,7 +1193,7 @@ mag_waypt_pr(const waypoint *waypointp)
                odesc = mag_cleanse(odesc);
        }
 
-       sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s",
+       sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.46s,%s",
                lat, ilat < 0 ? 'S' : 'N',
                lon, ilon < 0 ? 'W' : 'E',
                waypointp->altitude == unknown_alt ?